package lab5;

import java.net.InetSocketAddress;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.ipc.RPC;

public class RPCClient {

	public static void main(String[] args) throws Exception {
		IRPCInterface proxy = RPC.getProxy(IRPCInterface.class, 1, new InetSocketAddress("localhost", 8882),
				new Configuration());

		String s = proxy.test("client");

		System.out.println("client======>" + s);
	}

}
